import {Component, OnInit, ViewEncapsulation} from '@angular/core';
import {Router} from '@angular/router';
@Component({
  selector: 'app-error',
  templateUrl: './error.component.html',
  styles: [
    `
      .sub-title {
        color: #888;
        font-size: 14px;
        padding: 30px 0 18px 0;
        margin-left: 15px;
      }
      .spe .am-icon {
        width: 60px;
        height: 60px;
      }
      .spe {
        width: 60px;
        height: 60px;
      }
    `
  ],
  encapsulation: ViewEncapsulation.None
})
export class ErrorComponent implements OnInit {

  constructor(private router: Router) { }

  ngOnInit(): void {
  }

  onLeftClick() : void{
    this.router.navigate(['home']);
  }

}
